package com.chainyoung.component_tmperson.ui.activity;

import android.os.Bundle;
import android.widget.TextView;

import com.chainyoung.common.base.BaseActivity;
import com.chainyoung.common.bean.UserInfo;
import com.chainyoung.common.di.AppComponent;
import com.chainyoung.common.utils.CommonUtil;
import com.chainyoung.component_tmperson.R;
import com.chainyoung.component_tmperson.R2;

import butterknife.BindView;
import butterknife.ButterKnife;


public class RecommendActivity extends BaseActivity {


    @BindView(R2.id.tv_num)
    TextView tvNum;
    @BindView(R2.id.tv_total_num)
    TextView tvTotalNum;

    @Override
    protected void setupActivityComponent(AppComponent appComponent) {

    }

    @Override
    protected void initUI() {
        setCurrentTitle(getString(R.string.tmperson_my_invite));
        UserInfo userInfo= CommonUtil.getUserInfo();
        tvNum.setText(userInfo.getInvitCount()+"");
        tvTotalNum.setText(userInfo.getInvitTotalCount()+"");


    }

    @Override
    protected void initData() {

    }

    @Override
    protected int getLayoutId() {
        return R.layout.tmperson_activity_recommend;
    }


}
